/*
 * Esta classe define um form-bean com informações sobre um comentario.
 */
package br.unirio.bsi.dsw.AuctionSite.beans;

import java.util.ArrayList;
import org.apache.struts.action.ActionForm;

// HAS-A Relationship
public class commentForm extends ActionForm
{
  public static final String OPERATION_INSERT = "save";
  public static final String OPERATION_DELETE = "delete";
  
  // operacao a realizar
  private String operation;
  
  // pagina da scroll
  private String selectedPage;
  
  // indica qual album esta selecionado
  private String selectedAlbum;

  // indica qual estilo esta selecionado
  private String selectedUsuario;
  
  // indica qual comentario esta selecionado
  private String selectedComment;

  // indica qual estilo esta selecionado
  private String selectedEstilo;
  
  // indica qual artista esta selecionado
  private String selectedArtista;
  
  // indica string de busca
  private String search; 

  // indica string de comment
  private String comment; 
  
  // lista de ofertas
  private ArrayList<formBeanC> Comments = new ArrayList<formBeanC>();
    
  //
  // getters & setters
  //
  public String getSelectedArtista() {
    return selectedArtista;
  }

  public void setSelectedArtista(String selectedArtista) {
    this.selectedArtista = selectedArtista;
  }

  public String getSelectedEstilo() {
    return selectedEstilo;
  }

  public void setSelectedEstilo(String selectedEstilo) {
    this.selectedEstilo = selectedEstilo;
  }
    
  public String getSelectedComment() {
    return selectedComment;
  }

  public void setSelectedComment(String selectedComment) {
    this.selectedComment = selectedComment;
  }
  
  public ArrayList<formBeanC> getComments() {
    return Comments;
  }

  public void setComments(ArrayList<formBeanC> Comments) {
    this.Comments = Comments;
  }

  public String getOperation() {
    return operation;
  }

  public void setOperation(String operation) {
    this.operation = operation;
  }

  public String getSearch() {
    return search;
  }

  public void setSearch(String search) {
    this.search = search;
  }

  public String getSelectedAlbum() {
    return selectedAlbum;
  }

  public void setSelectedAlbum(String selectedAlbum) {
    this.selectedAlbum = selectedAlbum;
  }

  public String getSelectedPage() {
    return selectedPage;
  }

  public void setSelectedPage(String selectedPage) {
    this.selectedPage = selectedPage;
  }

  public String getSelectedUsuario() {
    return selectedUsuario;
  }

  public void setSelectedUsuario(String selectedUsuario) {
    this.selectedUsuario = selectedUsuario;
  }

  public String getComment() {
    return comment;
  }

  public void setComment(String comment) {
    this.comment = comment;
  }  
}
